Cucumber's logo
is not only a kind of fruit but also something GREAT:).


Yang SHEN
Jan,2017
Why Are We Here Today?
Team
  • "For The Peace of the World!"
  • "For Meanningful AC of User Story, for ALL."
  • "For Better Fresh Air!"
  • "For More Testable Code Naturally, for DEV."
  • "For Bridging Executable AC To Testable Code, for DEV."
bug
bug
STOP! Tell Me!
TDD or BDD, that's the question! -- ShakesXXXre...
bug
NOTE & Talk a little...
  • TDD is good, it has no fault
  • BDD is an extension instead of replacement
Cucumber is a framework for BDD (Behavior-Driven Development)! It means

  • Living Docs(Executable & Update-to-date)
  • Single Source of Truth(Feature/Test/Code)
  • Automation Test Tool
  • Less Rework
  • Test Tools Integration(Unit Test/Selenium/WatiN)
bug
bug
Binding Business Requirements to .NET Testable Code
"Talk is cheap, show me the cucumber!" -- Linos
Team
A simple Gherkin statement example. Everyone understand what is going on of the feature with this statement.
"Show me more code in project!" -- Someone
OK, as you wish..... Show it (feature/code/test/configuration) in VS2015
Where Do We Start From?
Team
You need extend VS2015 with the add-on.
Team Team
  1. Create your feature files while composing AC.
  2. Compose the feature statement in Gherkin
  3. Generate feature steps
  4. Fill the steps and run tests
  5. Make all the tests pass
  6. Create another feature
NOTE: by default, SpecFlow use NUnit as default Unit Test Provider, you can change it to MSTest Team
More practice are needed.
Useful Resources:
Thank You:)